import { createStore } from 'vuex'
import getters from './getters'

import user from "./modules/user.js"
import address from "./modules/address.js"
import hotel from "./modules/hotel.js"

let modules = {
  user: user,
  address: address,
  hotel: hotel,
};

const store = createStore({
    modules: {
      ...modules
    },
    getters
})

export default store
